Strava - Get Activity Stats
(6 actions, 5 KB)
0 Comment
https://developers.strava.com/docs/reference/#api-Athletes-getStats
1 TextγΒ»
Strava
2 Run Shortcut
Refresh Strava API Access Token
γβ accessToken
γΒ»
4
Input
:
[1 Text]
Workflow
:
{ "workflowIdentifier": "2F0DF206-94E7-4B0B-932C-9218D668A5DD", "workflowName": "Refresh Strava API Access Token", "isSelf": false }
3 DataJar > GetValueIntent
γβ athleteID
γΒ»
keyPath
:
API Credentials.Strava.athleteID
4 Get Contents of URL
https://www.strava.com/api/v3/athletes/
[3 athleteID]
/stats
γΒ»
HTTPHeaders
:
{ "Authorization": "Bearer
[2 accessToken]
" }
ShowHeaders
:
false
5 Stop and Output
[4 Contents of URL]